package com.woniu.mapper;

import com.woniu.entity.Address;

import java.util.List;

/**
* @author user
* @description 针对表【address(收货地址表)】的数据库操作Mapper
* @createDate 2025-09-04 09:47:55
* @Entity com.woniu.entity.Address
*/
public interface AddressMapper {

    // 根据用户id查询地址
    List<Address> findByUserId(Integer customerId);

    int delete(Integer id);

    int add(Address record);

    Address findById(Integer id);

    int update(Address record);



}
